﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FlowSequencer.Core.FlowElements
{
    public class Task : ICloneable
    {
        public Task()
        {
            Index = -1;
            Name = "DefaultNameTask";
            Cycles = 0;
        }
        private Task(Task task)
        {
            this.Cycles = task.Cycles;
            this.Index = task.Index;
            this.Name = task.Name;
        }
        public int Index { get; set; }
        public string Name { get; set; }
        public int Cycles { get; set; }

        public object Clone()
        {
            return new Task(this);
        }
    }

}
